using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SiteECSWeb;
using System.ComponentModel;
using EcsSiteDSTableAdapters;

/// <summary>
/// Summary description for ExpOpprtintyOptionsBLL
/// </summary>
/// 
namespace SiteECSWeb
{
    [DataObject]

    public class ExpOpprtintyOptionsBLL
    {

        #region ClassConstructor
        public ExpOpprtintyOptionsBLL()
        {
            //
            // TODO: Add constructor logic here
            //
        }
        #endregion
         private ExpOpprtintyOptionsTableAdapter _ExpOpprtintyOptionsAdapter = null;

        protected ExpOpprtintyOptionsTableAdapter ExpOpprtintyOptionsAdapter
        {
            get
            {
                if (_ExpOpprtintyOptionsAdapter == null)
                {
                    _ExpOpprtintyOptionsAdapter = new ExpOpprtintyOptionsTableAdapter();
                }
                return _ExpOpprtintyOptionsAdapter;
            }
        }
        #region SelectableTable
        [DataObjectMethodAttribute(DataObjectMethodType.Select, false)]
        public EcsSiteDS.ExpOpprtintyOptionsDataTable GetAllExpOpprtintyCountries()
        {
            return ExpOpprtintyOptionsAdapter.GetExpOpprtintySelectCountriesData();
        }
        [DataObjectMethodAttribute(DataObjectMethodType.Select, false)]
        public EcsSiteDS.ExpOpprtintyOptionsDataTable GeExpOpprtintyCountCountry()
        {
            return ExpOpprtintyOptionsAdapter.GeExpOpprtintyDataCountCountry();
        }
        [DataObjectMethodAttribute(DataObjectMethodType.Select, false)]
        public EcsSiteDS.ExpOpprtintyOptionsDataTable GeExpOpprtintyCountProCat()
        {
            return ExpOpprtintyOptionsAdapter.GeExpOpprtintyDataCountProCat();
        }
        [DataObjectMethodAttribute(DataObjectMethodType.Select, false)]
        public EcsSiteDS.ExpOpprtintyOptionsDataTable 
            GetExpOpprtintyCountByCityIDYear(int CityID,int Year)
        {
            return ExpOpprtintyOptionsAdapter.GeExpOpprtintyCountMonthDataByCityIDYear(CityID,Year);
        }
        [DataObjectMethodAttribute(DataObjectMethodType.Select, false)]
        public EcsSiteDS.ExpOpprtintyOptionsDataTable
            GetExpOpprtintyCountByInternalOffYearMonth(int Int_Off, int Year, int Month)
        {
            return ExpOpprtintyOptionsAdapter.GetExpOpprtintyCountMonthByInternalOffYearMonth(Int_Off, Year, Month);
        }

        #endregion
    }
}